package cn.yuan.xiaoyu.wangmodule.activity;

import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import butterknife.Bind;
import butterknife.OnClick;
import cn.yuan.xiaoyu.R;
import cn.yuan.xiaoyu.commonmodule.activity.BaseActivity;
import cn.yuan.xiaoyu.commonmodule.utils.StatusBarCompatUtils;

/**
 * Created by yukuoyuan on 2017/3/3.
 * 这是一个更新我的信息的界面
 */

public class UpdataMyInfoActivity extends BaseActivity {
    @Bind(R.id.iv_toolbar_ww_save)
    TextView ivToolbarWwSave;
    @Bind(R.id.et_ww_main_me_myinfo_updata)
    EditText etWwMainMeMyinfoUpdata;

    @Override
    protected void bindPresenter() {

    }

    @Override
    protected void initData(Bundle extras) {
        int type = extras.getInt("type");
        if (type == 1) {

        } else if (type == 2) {

        } else if (type == 3) {

        }
    }

    @Override
    public int getContentLayout() {
        return R.layout.activity_updatamyinfo;
    }

    @Override
    protected void initToolbar() {
        StatusBarCompatUtils.compat(this, Color.BLACK);
        ivToolbarWwSave.setVisibility(View.VISIBLE);
    }


    @OnClick({R.id.iv_toolbar_ww_back, R.id.iv_toolbar_ww_save})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_toolbar_ww_back:
                onBackPressed();
                break;
            case R.id.iv_toolbar_ww_save:
                break;
        }
    }
}
